package com.haole.ecommercepay.ecommerce.url;

/**
 * @author haole
 */
public class EcommerceUrl {

    /**
     * 二级商户进件
     * POST 注意，地址后面有"/"
     */
    public final static String APPLYMENTS = "/v3/ecommerce/applyments/";
    /**
     * 通过申请单ID查询申请状态
     * GET Restful风格 https://api.mch.weixin.qq.com/v3/ecommerce/applyments/{applyment_id}
     */
    public final static String APPLYMENT_ID = "/v3/ecommerce/applyments/%s";
    /**
     * 通过业务申请编号查询申请状态
     * GET Restful风格 https://api.mch.weixin.qq.com/v3/ecommerce/applyments/out-request-no/{out_request_no}
     */
    public final static String OUT_REQUEST_NO = "/v3/ecommerce/applyments/out-request-no/%s";
    /**
     * 下载平台证书
     * GET
     */
    public final static String CERTIFICATES = "/v3/certificates";
    /**
     * 修改结算帐号
     * POST Restful风格 https://api.mch.weixin.qq.com/v3/apply4sub/sub_merchants/{sub_mchid}/modify-settlement
     */
    public final static String MODIFY_SETTLEMENT = "/v3/apply4sub/sub_merchants/%s/modify-settlement";
    /**
     * 查询结算账户
     * GET Restful风格 https://api.mch.weixin.qq.com/v3/apply4sub/sub_merchants/{sub_mchid}/settlement
     */
    public final static String SETTLEMENT = "/v3/apply4sub/sub_merchants/%s/settlement";
}
